package com.ruoyi.dataserver.point.controller;


import com.ruoyi.dataserver.utils.R;
import com.ruoyi.dataserver.point.dto.LayerAndPointFieldAndOperationSymbolAndValue;
import com.ruoyi.dataserver.point.service.PointService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * @ProjectName intelligent-city
 * @Package com.lab.dataserver.point.controller
 * @ClassName PointController
 * @Description TODO
 * @Company lab
 * @Author zgq
 * @Date 2020/7/14 13:54
 * @UpdateUser
 * @UpdateDate
 * @UpdateRemark
 * @Version 1.0.0
 */
@RestController
@RequestMapping("point")
public class PointController {

    @Autowired
    PointService pointServiceImpl;

    @RequestMapping("select")
    public R select(@RequestBody List<LayerAndPointFieldAndOperationSymbolAndValue> lpov){
        return R.ok(pointServiceImpl.select(lpov));
    }
}
